package com.sanpu.kxe.business.main.contract;

import com.sanpu.kxe.base.IBaseExtraView;
import com.sanpu.kxe.base.IBasePresenter;
import com.sanpu.kxe.business.main.bean.PointDetailOutput;
import com.sanpu.kxe.business.main.bean.PointTotalOutput;

import java.util.List;

/**
 * Description：我的积分contract
 * Created by 薛勇军 on 2018/7/18.
 */

public interface MyScoreContract {

    interface View extends IBaseExtraView<Presenter> {
        /**
         * 显示累计积分和月积分
         */
        void showPointView(PointTotalOutput totalOutput);

        /**
         * 显示积分列表
         */
        void showPointListView(List<PointDetailOutput> detailOutputs, boolean isFirst);

        /**
         * 上拉加载状态
         */
        void showLoadMore(String loadMore);
    }

    interface Presenter extends IBasePresenter {

        /**
         * 获取积分统计数据
         */
        void pointTotal();

        /**
         * 获取积分明细列表
         */
        void pointDetailList(int nowPage);
    }
}
